<%@page import="java.util.ArrayList"%>


<div class="result_box" id="result_${resultRank.count }">
	<div id="less_details_${result.page_ID}" class="lessDetails" style="display:block;">
		<a href="#" onclick="toggle_more_details('${result.page_ID}'); return false;">
			${resultRank.count + actionBean.numRows * (actionBean.pageWiki - 1)}. ${result.pageTitle} at ${result.revision }			
		</a>
		<div class="eventContent">
			<h4>Entities:</h4>
			${result.entitiesStr}
			<br>
			<br>
			
			<h4>Snippets:</h4>
			${result.snippetsHtml}
			<br>
			<br>
			
			<h4>Entity occurences:</h4>
			${result.entityOccurences}
		</div>
	</div>	
	
	<div id="more_details_${result.page_ID}" class="moreDetails" style="display:none;">
		<a href="#" onclick="toggle_more_details('${result.page_ID}'); return false;">
			${result.pageTitle}
		</a>
		<c:forEach var="version" items="${actionBean.revisions[result.page_ID]}" varStatus="versionRank" begin="0">
			<%@include file="aversion.jsp"%>
		 </c:forEach>		

		<br/>
	</div>
</div>


